﻿/*********** MOSAIC and SLIDER *************/

@media (max-width: 768px) {
    .page-width{
        display: none;
    }
    #owl-slider{
        display: block;
    }
}

@media (min-width: 768px) {
    .page-width{
        display: block;
    }
    #owl-slider{
        display: none;
    }
}

.container.mosaic{
    min-width: 100%;
    width: 100%;
}

.page-width {
    width: calc(100% - 1rem);
    margin-inline: auto;
    padding: 0.5rem;
}

.mosaic-block {
    position: relative;
    overflow: hidden;
    min-height: 350px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.5) 10%, transparent);
}

.mosaic-block img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: scale 0.5s;
}

.mosaic-block:hover img {
    scale: 1.05;
}

.mosaic-block .text {
    position: absolute;
    bottom: 0px;
    color: #e8e8e8;
    padding: 0rem 2rem 2rem 2rem;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 10%, transparent);
    width: calc(100% - 4rem);
}
.mosaic-block .text h3 {
    line-height: 1.2;
    margin-bottom: 0px;
    font-weight: normal;
    font-size: 18pt;
    color: white;
}
.mosaic-block .text a {
    color: #e8e8e8;
    font-size: 10pt;
    font-weight: normal;
    padding-top: 10px;
    display: inline-block;
    border-bottom: 1px solid transparent;
}

.mosaic-block .text a:hover {
    display: inline-block;
    border-bottom: 1px dotted white;
    color: white;
    text-decoration: none;
}

.mosaic-layout-5 {
    display: grid;
    gap: 0.5rem;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}

.mosaic-layout-5 .mosaic-block {
    min-height: 300px;
}

.mosaic-layout-5 .mosaic-block:nth-child(1) {
    grid-row: span 2;
    grid-column: span 2;
    background-color: black;
}

.mosaic-layout-5 .mosaic-block:nth-child(1) .text h3 {
    font-size: 22pt;
}

@media (max-width: 575px) {
    .mosaic-layout-5 {
        grid-template-columns: 1fr;
    }
}





#owl-slider{
    position: relative;
}

#owl-slider .item{
    background: #42bdc2;
    padding: 0px;
    margin: 10px;
    color: #FFF;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    text-align: center;
    height: 300px;
}

#owl-slider .item img {
    position: absolute;
    width: calc(100% - 20px);
    height: 100%;
    object-fit: cover;
    transition: scale 0.5s;
}

#owl-slider .item span {
    position: absolute;
    width: calc(100% - 20px);
    bottom: 0px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 10%, transparent);
    min-height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#owl-slider .item.first{
    background: black;
}

#owl-slider .item span a {
    font-size: 18pt;
    color: white;
    display: inline-block;
}

.owl-theme .owl-nav {
    position: absolute;
    top: 35%;
    display: flex;
    width: calc(100% - 40px);
    justify-content: space-between;
    align-items: center;
    padding-left: 20px;
    padding-right: 20px;
}
.owl-theme .owl-nav > div {
    width: 40px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.3)!important;
    background-repeat: no-repeat!important;
    background-position: 50% 50%!important;
    border-radius: 0px!important;
    background-image: url('data:image/svg+xml;charset=utf-8,<svg color="white" width="30px" height="30px" xmlns="http://www.w3.org/2000/svg" fill="currentColor" class="bi bi-chevron-down" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"></path></svg>')!important;
}

.owl-theme .owl-nav .owl-prev{
    transform: rotate(90deg);
}
.owl-theme .owl-nav .owl-next{
    transform: rotate(270deg);
}
